﻿using FitbitAPI;
using FitbitAPI.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FitbitManager.WrapperLibrary
{
    public class WrapperSubscriptionManager
    {
        public static List<UpdatedResource> GetUpdatesResources(string responseText)
        {
            SubscriptionManager subscriptionManager = new SubscriptionManager();
            responseText = subscriptionManager.StripSignatureString(responseText);
            return subscriptionManager.ProcessUpdateReponseBody(responseText);
        }
    }
}
